package com.danskin.wechat.entity;

import java.util.List;

public class Menu {
	
	private int id;
	private String userName;
	private String roleName;
	private String menuCode;
	private String menuName;
	private String menuUrl;
	private int  parentId;
	private int menuOrder;
	private int menuStatus;
	private int menuType;
	private String menuIcon;
	private int menuRedirect;
	private String createdTime;
	private String createUser;
	private String lastModifiedTime;
	private String target;
	private Menu parentMenu;
	private List<Menu> subMenu;
	private boolean hasMenu = false;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getMenuCode() {
		return menuCode;
	}
	public void setMenuCode(String menuCode) {
		this.menuCode = menuCode;
	}
	public String getMenuName() {
		return menuName;
	}
	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}
	public String getMenuUrl() {
		return menuUrl;
	}
	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public int getMenuOrder() {
		return menuOrder;
	}
	public void setMenuOrder(int menuOrder) {
		this.menuOrder = menuOrder;
	}
	public int getMenuStatus() {
		return menuStatus;
	}
	public void setMenuStatus(int menuStatus) {
		this.menuStatus = menuStatus;
	}
	public int getMenuType() {
		return menuType;
	}
	public void setMenuType(int menuType) {
		this.menuType = menuType;
	}
	public String getMenuIcon() {
		return menuIcon;
	}
	public void setMenuIcon(String menuIcon) {
		this.menuIcon = menuIcon;
	}

	public String getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(String createdTime) {
		this.createdTime = createdTime;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getLastModifiedTime() {
		return lastModifiedTime;
	}
	public void setLastModifiedTime(String lastModifiedTime) {
		this.lastModifiedTime = lastModifiedTime;
	}
	public Menu getParentMenu() {
		return parentMenu;
	}
	public void setParentMenu(Menu parentMenu) {
		this.parentMenu = parentMenu;
	}
	public List<Menu> getSubMenu() {
		return subMenu;
	}
	public void setSubMenu(List<Menu> subMenu) {
		this.subMenu = subMenu;
	}
	public boolean isHasMenu() {
		return hasMenu;
	}
	public void setHasMenu(boolean hasMenu) {
		this.hasMenu = hasMenu;
	}
	public String getTarget() {
		return target;
	}
	public void setTarget(String target) {
		this.target = target;
	}
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	
	public int getMenuRedirect() {
		return menuRedirect;
	}
	public void setMenuRedirect(int menuRedirect) {
		this.menuRedirect = menuRedirect;
	}
	@Override
	public String toString() {
		return "Menu [id=" + id + ", userName=" + userName + ", roleName=" + roleName + ", menuCode=" + menuCode
				+ ", menuName=" + menuName + ", menuUrl=" + menuUrl + ", parentId=" + parentId + ", menuOrder="
				+ menuOrder + ", menuStatus=" + menuStatus + ", menuType=" + menuType + ", menuIcon=" + menuIcon
				+ ", createdTime=" + createdTime + ", createUser=" + createUser + ", lastModifiedTime="
				+ lastModifiedTime + ", target=" + target + ", parentMenu=" + parentMenu + ", subMenu=" + subMenu
				+ ", hasMenu=" + hasMenu + "]";
	}
	

	
	

}
